
  sessvars.karyoDas = new Object();
  sessvars.karyoDas.conf = new Object();
  sessvars.karyoDas.conf.sources = new Array();
  sessvars.karyoDas.conf.userEntryPoints= [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,'X','Y'];
  sessvars.karyoDas.conf.zoomConf = [];
  sessvars.karyoDas.conf.userContainers = ['zoomView', 'chromosomeView', 'karyotypeView'];
  sessvars.karyoDas.conf.specie = new String();
  sessvars.karyoDas.conf.selectedDsnId = "Homo_sapiens.NCBI36.reference";

  $('#sources tbody tr').each(function() {
       var source            = new Object();
       source.id             = $(this).find(".name").html();
       source.name           = $(this).find(".name").html();
       source.label          = [$(this).find(".name").html()];
       source.description    = $(this).find(".desc").html();
       source.url            = $(this).find(".url").val();
       source.representation = $(this).find(".representation_type option:selected").text();
       source.panel          = $(this).find(".selected_view option:selected").text();  
       source.ntLimit        = 17000000;
       source.types          = [];
       sessvars.karyoDas.conf.sources.push(source);       
    });
   
  sessvars.karyoDas.conf.compare = new Object();
  sessvars.karyoDas.conf.compare.comparison = new Object();
  sessvars.karyoDas.conf.compare.comparison.source  = new Object();
  sessvars.karyoDas.conf.compare.comparison.source.annotations = new Array();
/*  sessvars.karyoDas.conf.compare.comparison.source.id             = 'Comparison';
  sessvars.karyoDas.conf.compare.comparison.source.name           = 'Comparison';
  sessvars.karyoDas.conf.compare.comparison.source.label          = 'Comparison';
  sessvars.karyoDas.conf.compare.comparison.source.description    = 'Comparison';
  sessvars.karyoDas.conf.compare.comparison.source.representation = 'mark';
  sessvars.karyoDas.conf.compare.comparison.source.panel          = 'zoom';
  sessvars.karyoDas.conf.compare.comparison.source.ntLimit        = 17000000;
  sessvars.karyoDas.conf.compare.comparison.source.types          = [];
*/